package com.cn.clp.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cn.clp.dao.UserDao;
import com.cn.clp.model.User;
import com.cn.clp.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	@Autowired
	private UserDao userDao;


	public User findById(String code,String pwd) {
		User user = userDao.findById(code,pwd);
		return user;
	}

}
